package top.blackr.folivora.common.security.crud.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import top.blackr.folivora.common.security.crud.model.entity.SysDeptRelation;

@Mapper
public interface SysDeptRelationMapper extends BaseMapper<SysDeptRelation> {

    /**
     * 删除部门关系表数据
     * @param id 部门ID
     */
    void deleteDeptRelationsById(Integer id);

    /**
     * 更改部分关系表数据
     * @param deptRelation 部门关信息
     */
    void updateDeptRelations(SysDeptRelation deptRelation);

}
